package cn.wh.xwm.hibernate.dao;

/**
 * Inventoryinfo entity.
 * 
 * @author MyEclipse Persistence Tools
 */

public class Inventoryinfo implements java.io.Serializable {

	// Fields

	private InventoryinfoId id;
	private Customerinfo customerinfo;
	private Productinfo productinfo;
	private Integer inventoryNumber;

	// Constructors

	/** default constructor */
	public Inventoryinfo() {
	}

	/** minimal constructor */
	public Inventoryinfo(InventoryinfoId id, Customerinfo customerinfo,
			Productinfo productinfo) {
		this.id = id;
		this.customerinfo = customerinfo;
		this.productinfo = productinfo;
	}

	/** full constructor */
	public Inventoryinfo(InventoryinfoId id, Customerinfo customerinfo,
			Productinfo productinfo, Integer inventoryNumber) {
		this.id = id;
		this.customerinfo = customerinfo;
		this.productinfo = productinfo;
		this.inventoryNumber = inventoryNumber;
	}

	// Property accessors

	public InventoryinfoId getId() {
		return this.id;
	}

	public void setId(InventoryinfoId id) {
		this.id = id;
	}

	public Customerinfo getCustomerinfo() {
		return this.customerinfo;
	}

	public void setCustomerinfo(Customerinfo customerinfo) {
		this.customerinfo = customerinfo;
	}

	public Productinfo getProductinfo() {
		return this.productinfo;
	}

	public void setProductinfo(Productinfo productinfo) {
		this.productinfo = productinfo;
	}

	public Integer getInventoryNumber() {
		return this.inventoryNumber;
	}

	public void setInventoryNumber(Integer inventoryNumber) {
		this.inventoryNumber = inventoryNumber;
	}

}